package com.koocloud.electroplatemanage.auth.service;

import com.koocloud.electroplatemanage.pojo.Permission;

import java.util.List;
import java.util.Map;





public interface IPermissionService {

	List<Permission> selectPermission(String id, String permissionName);

	Integer updatePermission(Permission permission);

	Integer deletePermission(String id);

	List<Map<String, Object>> selectPermissionList();

	Integer addPermission(Permission permission);

	List<Map<String, Object>> selectFirstPermissionList();

	Permission   selectPermissionById(String id);

	String selectChirenNumById(String id);

    Integer selectPermissionByName(String permissionName);

}
